package com.example.api.service;

import com.example.api.model.entity.Vehicle;
import com.example.api.model.support.RespBean;

import java.util.List;

public interface VehicleService {

    RespBean save(Vehicle vehicle);

    RespBean update(Vehicle vehicle);

    RespBean delete(Integer id);

    Vehicle findById(Integer id);

    List<Vehicle> findAll();

}
